package com.wjk.kylin.id.server.uid.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * uid信息表
 * </p>
 *
 * @author wangjinkui
 * @since 2022-09-22
 */
@Getter
@Setter
@TableName("kylin_uid_info")
public class UIdInfoEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 自增主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 业务类型，唯一
     */
    private String bizType;

    /**
     * 工作id
     */
    private Long workerId;

    /**
     * 版本号
     */
    private Long version;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;
}
